package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 公司管理对象 co_test_company
 * 
 * @author 冬木逢春
 * @date 2022-06-19
 */
public class CoTestCompany extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 公司ID */
    private Long coId;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String coName;

    /** 公司资产 */
    @Excel(name = "公司资产")
    private Long coMany;

    /** 机构类型ID */
    @Excel(name = "机构类型ID")
    private Long mechaId;

    /** 行业类型ID */
    @Excel(name = "行业类型ID")
    private Long instryId;

    /** 银行是否开户（0：否    1：是） */
    @Excel(name = "银行是否开户", readConverterExp = "0=：否,1=：是")
    private Long isAccountOpening;

    public void setCoId(Long coId) 
    {
        this.coId = coId;
    }

    public Long getCoId() 
    {
        return coId;
    }
    public void setCoName(String coName) 
    {
        this.coName = coName;
    }

    public String getCoName() 
    {
        return coName;
    }
    public void setCoMany(Long coMany) 
    {
        this.coMany = coMany;
    }

    public Long getCoMany() 
    {
        return coMany;
    }
    public void setMechaId(Long mechaId) 
    {
        this.mechaId = mechaId;
    }

    public Long getMechaId() 
    {
        return mechaId;
    }
    public void setInstryId(Long instryId) 
    {
        this.instryId = instryId;
    }

    public Long getInstryId() 
    {
        return instryId;
    }
    public void setIsAccountOpening(Long isAccountOpening) 
    {
        this.isAccountOpening = isAccountOpening;
    }

    public Long getIsAccountOpening() 
    {
        return isAccountOpening;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("coId", getCoId())
            .append("coName", getCoName())
            .append("coMany", getCoMany())
            .append("mechaId", getMechaId())
            .append("instryId", getInstryId())
            .append("createTime", getCreateTime())
            .append("isAccountOpening", getIsAccountOpening())
            .toString();
    }
}
